package com.seadragon.app.ksr.dao;

import java.util.List;

import com.seadragon.app.ksr.model.Address;

public interface AddressDao {
	Address findById(long id);

	List<Address> findAll(int offset, int pageSize);
	
	List<Address> findAllUngeocodedAddresses(int offset, int pageSize);
	
	boolean exists(String completeAddress);
	
	void save(Address address);
	void update(Address address);

	Address findByCompleteAddress(String completeAddress);
}
